I'm trying to build an rcon command to shuffle the teams randomly, but I don't really know where to begin. I'd guess you'll want to get the number of people on allies + the number of people on axis, then assign every player a random int between 0 and the total number of allies + axis -1, then send odd numbers to allies and even number to axis, or the first half to one team and the second half to the other.... Just a bit over my head. If there's anyone who can give me pointers, I'd really appreciate it!



Reply With Quote

